
public class CalculateTest {

	public static void main(String[] args) {
		Calculator cal = new Calculator();

		System.out.print("10 + 15 + 24 = ");
		System.out.print(cal.add(10, 15, 24));
		
		System.out.println();
		
		System.out.print("10 - 15 - 24 = ");
		System.out.print(cal.subtract(10, 15, 24));
	
		System.out.println();
		
		System.out.print("10 * 15 * 24 = ");
		System.out.print(cal.multiply(10, 15, 24));
		
		System.out.println();
		
		System.out.print("10 / 15 / 24 / 0 = ");
		System.out.print(cal.divide(10, 15, 24, 0));
				
	}

}
